package web;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class IndexW implements Controller {


	public ModelAndView handleRequest(HttpServletRequest request,
			                          HttpServletResponse response) throws Exception
    {
		ModelAndView mav=new ModelAndView();
		List model=new ArrayList();
		mav.setViewName("index");
	    mav.addObject("model",model);
		return mav;
	}

}
